
div.frame{
  display: block;
  position: absolute;
  opacity:0.75;
}

div.frameheadingtext
{
  color: white;
  font-family: 'Dimbo' !important;
  text-align:center;
}

div.frame-heading
{
  display: block;
  position: absolute;

  background-color: #38A7DF;
  z-index:0;

  border-style: solid;
  border-color: black;
  border-width: thick;
  border-radius: 10% / 10%;
  
  color: white;
  font-family: 'Dimbo' !important;
  text-align:center;
  
  pointer-events: all;
  cursor: default;
}

div.frame-heading:before {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;

  border-style: solid;
  border-color: white;
  border-width: thick;
  border-radius: 10% / 10%;
}

div.frame-content {
  display: block;
  position: absolute;

  background-color: #38A7DF;
  z-index:10;
  
  border-radius: 5% / 5%;

  border-width: thick;
  border-style: solid;
  border-color: black;
  
  padding: 2% !important;

  cursor: default;
}

div.frame-content:before {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;

  border-radius: 5% / 5%;

  border-width: thick;
  border-style: solid;
  border-color: white;
}

div.frame-panel {
  display: block;
  position: absolute;

  background-color: #38A7DF;
  z-index:10;
  
  border-radius: 5% / 5%;

  border-width: thick;
  border-style: solid;
  border-color: black;
  
  padding: 2% !important;

  cursor: default;
}

div.frame-panel:before {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;

  border-radius: 5% / 5%;

  border-width: thick;
  border-style: solid;
  border-color: white;
}

div.frame-new-button {
  display: block;
  background-color: #F7B132 !important;
  
  border-style: solid;
  border-color: black;

  color: white;
  
  cursor: pointer;
  pointer-events: all;

  font-family: 'Dimbo';
  text-align:center;
}

.newFieldName {
  font-family: 'GraphicPixel';
  font-weight:bold;
  color: #fff !important;
}

.frame-stroke1 {
  font-weight:bold;
  color: #fff !important;

  text-shadow:
    -1px -1px 0 black,
     0   -1px 0 black,
     1px -1px 0 black,
     1px  0        0 black,
     1px  1px 0 black,
     0    1px 0 black,
    -1px  1px 0 black,
    -1px  0        0 black !important;	
}

div.frame-new-button-ok
{
  display: block;
  background-color: #FF0000 !important;

  border-style: solid;
  border-color: black;

  cursor: pointer;
  pointer-events: all;
  
  color: white;
  
  font-family: 'Dimbo';
  text-align:center;
}

div.frame-new-button-ok.active
{
  background-color: #00FF00 !important;
}

div.frame-close-button
{
	position: absolute;
	right:2%;
	top:2%;

	cursor: pointer;
	pointer-events: all;	
}

.frame-stroke1 {
  text-shadow:
	-1px -1px 0 black,
	 0   -1px 0 black,
	 1px -1px 0 black,
	 1px  0        0 black,
	 1px  1px 0 black,
	 0    1px 0 black,
	-1px  1px 0 black,
	-1px  0        0 black;	
}


@media screen and (min-width: 1501px), screen and (min-height: 801px) {
	#loginwindow .frame-heading {
		left:30%;
		width:40%;	
	}	
	#registerwindow .frame-heading {
		left:30%;
		width:40%;
	}
	#allinventorywindow .frame-heading {
		left:30%;
		width:40%;		
	}
	
	#characterDialog .frame-heading {
		left:30%;
		width:40%;		
	}

	div.frame{
	  display: block;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  margin-left:-250px;
	  margin-top:-250px;
	  width:500px;
	  height:500px;
	}

	div.frameheadingtext
	{
	  font-size: 30px;
	  line-height: 45px;
	  
	  text-shadow:
		-3px -3px 0 black,
		 0        -3px 0 black,
		 3px -3px 0 black,
		 3px  0        0 black,
		 3px  3px 0 black,
		 0         3px 0 black,
		-3px  3px 0 black,
		-3px  0        0 black;	
	}

	div.frame-heading
	{
	  display: block;
	  position: absolute;
	  top: 0;
	  left:25%;
	  width:50%;
	  height:50%;

	  font-size: 30px;
	  line-height: 45px;

	  text-shadow:
		-3px -3px 0 black,
		 0        -3px 0 black,
		 3px -3px 0 black,
		 3px  0        0 black,
		 3px  3px 0 black,
		 0         3px 0 black,
		-3px  3px 0 black,
		-3px  0        0 black;	
	}

	div.frame-content {
	  top: 50px;
	  left:0;
	  right:0;
	  bottom:0;
	}

	div.frame-new-button {
	  width: 120px;
	  height: 40px;
	  margin: 3px;
	  
	  border-width: 3px;
	  border-radius: 12px;

	  font-size: 28px;
	  line-height:34px;

	  text-shadow:
		-3px -3px 0 black,
		 0        -3px 0 black,
		 3px -3px 0 black,
		 3px  0        0 black,
		 3px  3px 0 black,
		 0         3px 0 black,
		-3px  3px 0 black,
		-3px  0        0 black;
	}

	.newFieldName {
	  font-size: 21px !important;

	  text-shadow:
		-3px -3px 0 black,
		 0   -3px 0 black,
		 3px -3px 0 black,
		 3px  0        0 black,
		 3px  3px 0 black,
		 0    3px 0 black,
		-3px  3px 0 black,
		-3px  0        0 black;	
	}

	div.frame-new-button-ok
	{
	  width: 120px;
	  height: 40px;
	  margin: 3px;

	  border-width: 3px;
	  border-radius: 12px;

	  font-size: 28px;
	  line-height:34px;

	  text-shadow:
		-3px -3px 0 black,
		 0        -3px 0 black,
		 3px -3px 0 black,
		 3px  0        0 black,
		 3px  3px 0 black,
		 0         3px 0 black,
		-3px  3px 0 black,
		-3px  0        0 black;
	}

	.frame-stroke {
	  font-weight:bold;
	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black !important;
	}

	div.frame-close-button
	{
		width:32px;
		height:32px;
		background: url('../img/2/close-button.png' ) no-repeat;
	}
	
	div.frame-border
	{
		border:thick solid black;
	}
}

@media screen and (max-width: 1500px), screen and (max-height: 870px) {
	#loadcharacter input[type=text],
	#loadcharacter input[type=password] 
	{border: 2px solid black; }


	div.frame{
	  display: block;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  margin-left:-175px;
	  margin-top:-175px;
	  width:350px;
	  height:350px;
	}

	div.frameheadingtext
	{
	  font-size: 20px;
	  line-height: 30px;
	  
	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black;
	}

	div.frame-heading
	{
	  display: block;
	  position: absolute;
	  top: 0;
	  left:25%;
	  width:50%;
	  height:50%;

	  font-size: 20px;
	  line-height: 30px;

	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black;	
	}

	div.frame-content {
	  top: 35px;
	  left:0;
	  right:0;
	  bottom:0;
	}

	div.frame-new-button {
	  width: 80px;
	  height: 27px;
	  margin: 2px;
	  
	  border-width: 2px;
	  border-radius: 8px;

	  font-size: 18px;
	  line-height:24px;

	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black;
	}

	.newFieldName {
	  font-size: 14px !important;

	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black;	
	}

	div.frame-new-button-ok
	{
	  width: 80px;
	  height: 20px;
	  margin: 2px;

	  border-width: 2px;
	  border-radius: 8px;

	  font-size: 16px;
	  line-height:18px;

	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black;
	}

	.frame-stroke {
	  font-weight:bold;
	  text-shadow:
		-2px -2px 0 black,
		 0   -2px 0 black,
		 2px -2px 0 black,
		 2px  0        0 black,
		 2px  2px 0 black,
		 0    2px 0 black,
		-2px  2px 0 black,
		-2px  0        0 black !important;
	}
	
	div.frame-close-button
	{
		width:32px;
		height:32px;
		background: url('../img/2/close-button.png' ) no-repeat;
	}
	
	div.frame-border
	{
		border:2px solid black;
	}

}

@media screen and (max-width: 1000px) {
	#loadcharacter input[type=text],
	#loadcharacter input[type=password] 
	{border: 1px solid black; }
	
	div.frame {
		margin:0;
		left:21%;
		top:5%;
		width:58%;
		height:90%;
	}
	
	div.frame-heading, div.frameheadingtext
	{
	  font-size: 16px !important;
	  line-height: 22px;

	  text-shadow:
		-1px -1px 0 black,
		 0   -1px 0 black,
		 1px -1px 0 black,
		 1px  0        0 black,
		 1px  1px 0 black,
		 0    1px 0 black,
		-1px  1px 0 black,
		-1px  0        0 black;	  		
	}
	
	div.frame-content {
	  top:15%;
	}

	div.frame-new-button {
	  
	  border-radius: 4px;
	  border-width:1px;
	  width:45px;
	  height:15px;
	  font-size:10px;
	  line-height:14px;
	  
	  text-shadow:
		-1px -1px 0 black,
		 0   -1px 0 black,
		 1px -1px 0 black,
		 1px  0        0 black,
		 1px  1px 0 black,
		 0    1px 0 black,
		-1px  1px 0 black,
		-1px  0        0 black !important;	  
	}

	.newFieldName {
	  font-size: 8px !important;

	  text-shadow:
		-1px -1px 0 black,
		 0   -1px 0 black,
		 1px -1px 0 black,
		 1px  0        0 black,
		 1px  1px 0 black,
		 0    1px 0 black,
		-1px  1px 0 black,
		-1px  0        0 black;	
	}

	.frame-stroke {
	  font-weight:bold;
	  text-shadow:
		-1px -1px 0 black,
		 0   -1px 0 black,
		 1px -1px 0 black,
		 1px  0        0 black,
		 1px  1px 0 black,
		 0    1px 0 black,
		-1px  1px 0 black,
		-1px  0        0 black !important;	
	}

	div.frame-close-button
	{
		position: absolute;
		right:2%;
		top:2%;
		width:16px;
		height:16px;
		background: url('../img/1/close-button.png' ) no-repeat;
		cursor: pointer;
		pointer-events: all;	
	}

	div.frame-new-button-ok
	{
	  width: 30px;
	  height: 10px;
	  margin: 1px;

	  border-width: 1px;
	  border-radius: 3px;

	  font-size: 8px;
	  line-height:9px;

	  text-shadow:
		-1px -1px 0 black,
		 0   -1px 0 black,
		 1px -1px 0 black,
		 1px  0        0 black,
		 1px  1px 0 black,
		 0    1px 0 black,
		-1px  1px 0 black,
		-1px  0        0 black;	
	}
	
	div.frame-border
	{
		border:1px solid black;
	}
	
}